package area

import (
	v1 "Project/api/v1"
	"github.com/gin-gonic/gin"
)

type AreaUserRouter struct {}

func (s *AreaUserRouter) InitAreaRouter(Router *gin.RouterGroup)  {
	areaRouter := Router.Group("api/area")
	areaApi  :=  v1.ApiGroupApp.AreaApiGroup.AreaUserApi
	{
		areaRouter.PUT("info-action",areaApi.EditorAreaUserInfo)   // 修改个人信息
		areaRouter.PUT("password",areaApi.EditorPassword)         // 修改密码
		areaRouter.GET("info",areaApi.UserInfo)   			    // 查看个人信息
	}
}
